cc.Class({
    extends: cc.Component,

    properties: {
        // foo: {
        //    default: null,      // The default value will be used only when the component attaching
        //                           to a node for the first time
        //    url: cc.Texture2D,  // optional, default is typeof default
        //    serializable: true, // optional, default is true
        //    visible: true,      // optional, default is true
        //    displayName: 'Foo', // optional
        //    readonly: false,    // optional, default is false
        // },
        // ...
    },

    // use this for initialization
    onLoad: function () {
        var fadeOut = cc.fadeOut(5);
        // var cf = cc.callFunc(function(){this.node.removeFromParent(),this.node;});
        fadeOut.easing(cc.easeInOut(3));
        var moveby = cc.moveBy(0.1, 200, 200);
        var seq = cc.sequence(fadeOut,moveby);
        this.node.runAction(fadeOut);
    },

    // called every frame, uncomment this function to activate update callback
    // update: function (dt) {

    // },
});
